MapboxAudioGuidanceVoice

class MapboxAudioGuidanceVoice(mapboxSpeechApi: MapboxSpeechApi, mapboxVoiceInstructionsPlayer: MapboxVoiceInstructionsPlayer)

Controls voice guidance for the car.

Parameters

mapboxSpeechApi

language (ISO 639)

mapboxVoiceInstructionsPlayer

stream of VoiceInstructions.

Constructors

MapboxAudioGuidanceVoice
Link copied to clipboard
fun MapboxAudioGuidanceVoice(mapboxSpeechApi: MapboxSpeechApi, mapboxVoiceInstructionsPlayer: MapboxVoiceInstructionsPlayer)
language (ISO 639)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
speak
Link copied to clipboard
fun speak(voiceInstructions: VoiceInstructions?): Flow<SpeechAnnouncement?>
toString
Link copied to clipboard
open fun toString(): String